/*
 * @Author: your name
 * @Date: 2021-12-12 22:06:25
 * @LastEditTime: 2022-06-11 18:29:38
 * @LastEditors: lyztroy lyztroy@bupt.edu.cn
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /visualNotes/src/components/Node/index.ts
 */
import StartPoint from "./StartPoint";
import EndPoint from "./EndPoint";
import Branch from "./Branch";
import ActionStatus from "./ActionStatus";
import StatusNode from "./StatusNode";
import Objects from "./Object";
import People from "./people";
import ConstBox from "./constBox";
import Scheme from "./scheme";
import ModDefinition from "./modDefinition"
import UseCase from "./UseCase";
import Border from "./Border";
import Line from "./Line";
import Actor from "./Actor";
import EntityPoint from "./EntityPoint";
import Judge from "./judge"
import Decide from "./decide"
import Gather from"./gather"
import Things from"./things"
import Instruction from"./Instruction"
import Apply from "./Apply"
import View from "./View"
import ViewPoint from "./ViewPoint"
import Package from "./Package"
import Model from "./Model"

export interface NodeProps {
  data?: any;
  dragHandle?: any;
  id?: string;
  isConnectable?: boolean;
  isDragging?: boolean;
  selected?: boolean;
  sourcePosition?: string | number;
  targetPosition?: string | number;
  type?: string;
  xPos?: number;
  yPos?: number;
  position?: any;
}

const nodeType = {
  StartPoint,
  EndPoint,
  Branch,
  ActionStatus,
  StatusNode,
  Objects,
  People,
  ModDefinition,
  UseCase,
  Border,
  ConstBox,
  Line,
  Actor,
  EntityPoint,
  Scheme,
  Judge,
  Decide,
  Gather,
  Things,
  Instruction,
  Apply,
  View,
  ViewPoint,
  Package,
  Model,
};

export default nodeType;
